Working with JavaScript Objects

By Joshua Kovach

TIL that when you have a plain object and store instance variables on it, you’re actually setting a class variable across all instances. Here’s how to fix that.